<?php
namespace Library\Error;

abstract class ErrorViewPage {

    public static $default = '';
    public static $page_html = '';

    public static function show()
    {
        ob_start();
        if(file_exists(self::$default)) {
            echo file_get_contents(self::$default);
        } else {
            echo self::$page_html;
        }
        ob_end_flush();
    }

}